package cn.bgs.mapper;

import cn.bgs.pojo.Announcement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnnouncementsMapper {
    List<Announcement> selectAll(String theTheme);

    int announcementAdd(Announcement announcement);

    int announcementUpdate(Announcement announcement);

    int announcementDelect(Integer announcementId);
}
